package com.wpen.unit.infra.mybatis.job.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * LockPo.
 * 
 * @author Wang Peng(Auto Generator)
 * @date 2023-03-19
 * @version V5.0
 */
@Setter
@Getter
@ToString
@TableName("UNIT_LOCK")
public class LockPo implements Cloneable, Serializable {
    private static final long serialVersionUID = -161123581321345589L;
    /* 锁名称 [32,0] Not NULL */
    @TableId
    private String lockName;

    public LockPo() {
        super();
    }

    /** 浅克隆 */
    @Override
    public LockPo clone() {
        LockPo cloneLockPo = null;
        try {
            cloneLockPo = (LockPo) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
        return cloneLockPo;
    }

    /**
     * LockColumns.
     * 
     * @author Wang Peng(Auto Generator)
     * @date 2023-03-19
     * @version V5.0
     */
    public enum LockColumns {
        /** 锁名称**/
        LOCK_NAME;
    }
}